package com.erp.framework.web;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import javax.servlet.http.HttpServletRequest;

public class SimpleForm extends ActionForm {
	protected String referer = "";
	protected String action = "";
	protected String mode = "";
	protected String eventSrc = "";
	protected String pageEvent ;
	protected String pageEventSrc ;

	public SimpleForm() {
	}

	public String getReferer() {
		return referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public String getAction() {
		return action;
	}

	public String getEventSrc() {
		return eventSrc;
	}

	public String getMode() {
		return mode;
	}
	public String getPageEvent(){
		return this.pageEvent;
	}
	public String getPageEventSrc(){
		return this.pageEventSrc;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public void setEventSrc(String eventSrc) {
		this.eventSrc = eventSrc;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}
	public void setPageEvent(String pageEvent){
		this.pageEvent = pageEvent;
	}
	public void setPageEventSrc(String pageEventSrc){
		this.pageEventSrc = pageEventSrc;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		action = "";
		eventSrc = "";
	}

	public void validate(ActionErrors errors) {
	}

}
